package com.example.filecabinet.dao;

import com.example.filecabinet.entity.Lattice_info;
import com.example.filecabinet.entity.Lattice_infoExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface Lattice_infoMapper {
    int countByExample(Lattice_infoExample example);

    int deleteByExample(Lattice_infoExample example);

    int deleteByPrimaryKey(String latticeId);

    int insert(Lattice_info record);

    int insertSelective(Lattice_info record);

    List<Lattice_info> selectByExample(Lattice_infoExample example);

    Lattice_info selectByPrimaryKey(String latticeId);

    int updateByExampleSelective(@Param("record") Lattice_info record, @Param("example") Lattice_infoExample example);

    int updateByExample(@Param("record") Lattice_info record, @Param("example") Lattice_infoExample example);

    int updateByPrimaryKeySelective(Lattice_info record);

    int updateByPrimaryKey(Lattice_info record);

    List<Lattice_info> selectEmpTakeLattice(String employeeId, Lattice_info lattice_info);

    List<Lattice_info> selectByDate(String deviceNumber);

    List<Lattice_info> selectOpenLattice(String deviceNumber);
}


